#include <stdlib.h>
#include <stdio.h>

int main()
{
    const char* str = "hello";
    char* str1 = str;
    // *str1 = 'a';
    printf("%s\n", str);
    /* C中会默认void* 强转 */
    char* ptr = malloc(sizeof(char) * 10);

    free(ptr);

    const int num = 100;

    /* 直接修改，改不了 */
    //num = 666;

    int * pNum = &num;
    *pNum = 666;
    printf("%d\n", num);
    return 0;
}